package xyf.p11.other;

/**
 * ClassName: P1108_ValidIP
 * Description:
 * Author: xyf
 * Date: 9/16/22 12:45 AM
 * Version: 1.0
 **/
public class P1108_ValidIP
{
    public String defangIPaddr(String address)
    {
        if (address == null || address.length() == 0)
        {
            return null;
        }
        return address.replaceAll("\\.","[.]");
    }
}
